package com.misena.praxispraktik.view.visitas;

import com.misena.praxispraktik.view.Visitas;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "visitasController")
@ViewScoped
public class VisitasController extends AbstractController<Visitas> implements Serializable {

    @EJB
    private VisitasFacade ejbFacade;

    public VisitasController() {
        super(Visitas.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
